Copyright ã1995 by NeXT Computer, Inc.  All Rights Reserved.

- (BOOL)isBackgroundTransparent	Returns whether the background between Cells is transparent

- setCellBackgroundTransparent:(BOOL)flag	Sets whether the background within Cells is transparent

- (BOOL)isCellBackgroundTransparent	Returns whether the background within Cells is transparent

- setFont:fontObject	Sets the Font used to display text in the Cells

- font	Returns the Font used to display text in the Cells

Editing Text in Cells

- selectText:sender	Selects the text in the first or last editable Cell

- selectTextAt:(int)row :(int)col	Selects the text of the Cell at row, col in the Matrix

Setting Tab Key Behavior

- setNextText:anObject	Sets the object selected when the user presses Tab while editing the last text Cell

- setPreviousText:anObject	Sets the object selected when user presses Shift-Tab while editing the first text Cell

Assigning a Text Delegate

- setTextDelegate:anObject	Sets the delegate for messages from the field editor

- textDelegate	Returns the delegate for messages from the field editor

Text Object Delegate Methods

- (BOOL)textWillChange:textObject	Responds to a message from the field editor (see Text)

- textDidChange:textObject	Responds to a message from the field editor (see Text)

- textDidGetKeys:textObject	Responds to a message from the field editor (see Text)
isEmpty:(BOOL)flag

- (BOOL)textWillEnd:textObject	Responds to a message from the field editor (see Text)

- textDidEnd:textObject	Responds to a message from the field editor (see Text)
endChar:(unsigned short)whyEnd

Resizing the Matrix and Cells

- setAutosizeCells:(BOOL)flag	Sets whether the Matrix resizes its Cells automatically

- (BOOL)doesAutosizeCells	Returns whether the Matrix resizes its Cells automatically

- calcSize	Calculates Cell sizes

- sizeTo:(float)width :(float)height	Resizes the Matrix to width and height

- sizeToCells	Resizes the Matrix to fit its Cells exactly

- sizeToFit	Resizes the Cells and Matrix to fit the Cell contents

- validateSize:(BOOL)flag	Sets whether the Cell size needs to be recalculated

Scrolling

- setAutoScroll:(BOOL)flag	Sets whether the Matrix automatically scrolls when dragged in

- setScrollable:(BOOL)flag	Makes all the Cells scrollable

- scrollCellToVisible:(int)row :(int)col	Scrolls Matrix so the Cell at row and col is visible

Displaying

- display	Draws the Matrix and its Cells

- drawSelf:(const NXRect *)rects :(int)rectCount	Draws the Matrix and its Cells

- drawCell:aCell	Draws aCell if it's in the Matrix

- drawCellAt:(int)row :(int)col	Displays the Cell at row and col

- drawCellInside:aCell	Draws the inside of aCell if it's in the Matrix

- highlightCellAt:(int)row :(int)col lit:(BOOL)flag	Highlights (or unhighlights) the Cell at row, col

Target and Action

- setTarget:anObject	Sets the target of the Matrix to anObject

- target	Returns the target of the Matrix

- setAction:(SEL)aSelector	Sets the action of the Matrix to aSelector

- (SEL)action	Returns the action of the Matrix

- setDoubleAction:(SEL)aSelector	Sets the action method used on double-clicks to aSelector

- (SEL)doubleAction	Returns the action method for double clicks

- setErrorAction:(SEL)aSelector	Sets the action method for editing errors to aSelector

- (SEL)errorAction	Returns the action method for editing errors

- setTarget:anObject at:(int)row :(int)col	Assigns anObject as the target of the Cell at row, col

- setAction:(SEL)aSelector at:(int)row :(int)col	Assigns aSelector as the action method of the Cell at row, col

- sendAction	Sends the selected Cell's action, or the Matrix's action if the Cell doesn't have one

- sendAction:(SEL)theAction to:theTarget	Has the Application object send theAction to anObject

- sendAction:(SEL)aSelector	Sends aSelector to anObject, for all Cells if flag is YES
to:anObject
forAllCells:(BOOL)flag

- sendDoubleAction	Sends the action corresponding to a double-click

- setReaction:(BOOL)flag	Sets whether sending an action clears the selection

Handling Event and Action Messages

- (BOOL)acceptsFirstMouse	Returns NO only if mode is NX_LISTMODE

- mouseDown:(NXEvent *)theEvent	Responds to a mouse-down event

- (int)mouseDownFlags	Returns the event flags in effect at start of tracking

- (BOOL)performKeyEquivalent:(NXEvent *)theEvent
	Simulates mouse click in the appropriate Cell

Managing the Cursor

- resetCursorRects	Resets cursor rectangles so that the cursor becomes an I-beam over text Cells

Archiving

- read:(NXTypedStream *)stream	Reads the Matrix from stream

- write:(NXTypedStream *)stream	Writes the Matrix to stream

Menu

Inherits From:	Panel : Window : Responder : Object

Creating a Menu Zone

+ setMenuZone:(NXZone *)zone	Sets the zone from which Menus should be allocated

+ (NXZone *)menuZone	Returns the zone from which Menus should be allocated, creating one if necessary

Initializing a New Menu

- init	Initializes a new Menu with the title ªMenuº

- initTitle:(const char *)aTitle	Initializes a new Menu with aTitle as its title

Setting Up the Menu Commands

- addItem:(const char *)aString	Adds a new item to the end of the Menu
action:(SEL)aSelector
keyEquivalent:(unsigned short)charCode

- setItemList:aMatrix	Replaces the current Matrix of items with aMatrix

- itemList	Returns the Menu's Matrix of MenuCell items

Finding Menu Items

- findCellWithTag:(int)aTag	Returns the MenuCell that has aTag as its tag

Building Submenus

- setSubmenu:aMenu forItem:aCell	Makes aMenu a submenu controlled by aCell

- submenuAction:sender	Activates a submenu attached to sender's Menu

Managing Menu Windows

- moveTopLeftTo:(NXCoord)x :(NXCoord)y	Moves the Menu's top left corner to x, y

- windowMoved:(NXEvent *)theEvent	Handles a submenu being torn off its supermenu

- getLocation:(NXPoint *)theLocation	Determines where to display an attached submenu
forSubmenu:aSubmenu		when it's brought up

- sizeToFit	Resizes the Menu to exactly fit the command items

- close	Removes the Menu (and any submenus) from the screen

Displaying the Menu

- display	Displays the Menu, resizing if needed

- setAutoupdate:(BOOL)flag	Sets whether Menu reacts to update messages

- update	Updates each MenuCell item

Handling Events

- mouseDown:(NXEvent *)theEvent	Tracks the cursor in the Menu and submenus

- rightMouseDown:(NXEvent *)theEvent	Pops the main menu up under the cursor

Archiving

- read:(NXTypedStream *)stream	Reads the Menu from stream

- write:(NXTypedStream *)stream	Writes the Menu to stream

- awake	Reinitializes a Menu as it's unarchived

MenuCell

Inherits From:	ButtonCell : ActionCell : Cell : Object

Initializing a New MenuCell

- init	Initializes a new MenuCell with ªMenu Itemº as its title

- initTextCell:(const char *)aString	Initializes a new MenuCell with aString as its title

Setting the Update Action

- setUpdateAction:(SEL)aSelector	Sets the update action for the MenuCell to aSelector,
forMenu:aMenu		and sets aMenu to auto-update

- (SEL)updateAction	Returns the update action for the MenuCell

Checking for a Submenu

- (BOOL)hasSubmenu	Returns whether the MenuCell has a submenu

Tracking the Mouse

- (BOOL)trackMouse:(NXEvent *)theEvent	Refers mouse tracking to the MenuCell's Menu
inRect:(const NXRect *)cellFrame
ofView:controlView

Setting User Key Equivalents

+ useUserKeyEquivalents:(BOOL)flag	Sets the class to apply user-assigned key equivalents

- (unsigned short)userKeyEquivalent	Returns the user-assigned key equivalent for the MenuCell

Archiving

- read:(NXTypedStream *)stream	Reads the MenuCell from stream

- write:(NXTypedStream *)stream	Writes the MenuCell to stream

NXBitmapImageRep

Inherits From:	NXImageRep : Object

Initializing a New NXBitmapImageRep object

- initFromSection:(const char *)name	Initializes the new object from TIFF data in the section

- initFromFile:(const char *)filename	Initializes the new object from TIFF data in filename

- initFromStream:(NXStream *)stream	Initializes the new object from TIFF data in stream

- initData:(unsigned char *)data	Initializes the new object using data read from an image
fromRect:(const NXRect *)rect

- initData:(unsigned char *)data	Initializes the new object from raw bitmap data
pixelsWide:(int)width
pixelsHigh:(int)height
bitsPerSample:(int)bps
samplesPerPixel:(int)spp
hasAlpha:(BOOL)alpha
isPlanar:(BOOL)config
colorSpace:(NXColorSpace)space
bytesPerRow:(int)rowBytes
bitsPerPixel:(int)pixelBits

- initDataPlanes:(unsigned char **)planes	Initializes the new object from raw bitmap data in the 
pixelsWide:(int)width		planes data buffers
pixelsHigh:(int)height
bitsPerSample:(int)bps
samplesPerPixel:(int)spp
hasAlpha:(BOOL)alpha
isPlanar:(BOOL)config
colorSpace:(NXColorSpace)space
bytesPerRow:(int)rowBytes
bitsPerPixel:(int)pixelBits

Creating a List of NXBitmapImageReps

+ (List *)newListFromSection:(const char *)name
	Returns a List of NXBitmapImageReps from name data

+ (List *)newListFromSection:(const char *)name
zone:(NXZone *)aZone	Returns a List of NXBitmapImageReps from name data

+ (List *)newListFromFile:(const char *)filename	Returns a List of NXBitmapImageReps from filename 

+ (List *)newListFromFile:(const char *)filename	Returns a List of NXBitmapImageReps from filename 
zone:(NXZone *)aZone

+ (List *)newListFromStream:(NXStream *)stream
	Returns a List of NXBitmapImageReps from stream data

+ (List *)newListFromStream:(NXStream *)stream
zone:(NXZone *)aZone	Returns a List of NXBitmapImageReps from stream data

Reading Information from a Rendered Image

+ (int)sizeImage:(const NXRect *)rect	Returns the number of bytes in bitmap for the rect image

+ (int)sizeImage:(const NXRect *)rect	Provides information about the image bounded by the rect
pixelsWide:(int *)width		rectangle
pixelsHigh:(int *)height
bitsPerSample:(int *)bps
samplesPerPixel:(int *)spp
hasAlpha:(BOOL *)alpha
isPlanar:(BOOL *)config
colorSpace:(NXColorSpace *)space

Copying and Freeing an NXBitmapImageRep

- copyFromZone:(NXZone *)zone	Returns a copy of the NXBitmapImageRep

- free	Deallocates the NXBitmapImageRep

Getting Information about the Image

- (int)bitsPerPixel	Returns how many bits are needed to specify one pixel

- (int)samplesPerPixel	Returns the number of samples (components) in the data

- (BOOL)isPlanar	Returns YES if in planar configuration, NO if meshed

- (int)numPlanes	Returns the number of data planes

- (int)bytesPerPlane	Returns the number of bytes in each data plane

- (int)bytesPerRow	Returns the number of bytes in a scan line

- (NXColorSpace)colorSpace	Returns how bitmap data is to be interpreted

Getting Image Data

- (unsigned char *)data	Returns a pointer to the bitmap data

- getDataPlanes:(unsigned char *)planes	Provides pointers to each plane of bitmap data

Drawing the Image

- (BOOL)draw	Draws the image at (0.0, 0.0) in current coordinates 

- (BOOL)drawIn:(const NXRect *)rect	Modifies coordinates so image is drawn in rect rectangle

Producing a TIFF Representation of the Image

- writeTIFF:(NXStream *)stream	Writes a TIFF representation of the image to stream

- writeTIFF:(NXStream *)stream	Writes a TIFF representation of the image to stream
usingCompression:(int)compression

- writeTIFF:(NXStream *)stream	Writes a TIFF representation of the image to stream
usingCompression:(int)compression
andFactor:(float)factor

Setting and Checking Compression Types

+ (void)getTIFFCompressionTypes:(const int **)list 
count:(int *)numTypes	Returns all available compression types

+ (const char *)localizedNameForTIFFCompressionType:(int)compression
	Returns the localized name for the compression type

- (BOOL)canBeCompressedUsing:(int)compression 
	YES if the image can be compressed using compression

- (void)getCompression:(int *)compression 	Returns the compression type and compression factor
andFactor:(float *)factor

- (void)setCompression:(int)compression 	Sets the compression type and compression factor
andFactor:(float)factor

Archiving

- read:(NXTypedStream *)stream	Reads the NXBitmapImageRep from stream

- write:(NXTypedStream *)stream	Writes the NXBitmapImageRep to stream

NXBrowser

Inherits From:	Control : View : Responder : Object

Initializing and Freeing an NXBrowser

- initFrame:(const NXRect *)frameRect	Initializes a new NXBrowser within frameRect

- free	Frees the NXBrowser and its Matrices, NXBrowserCells and other objects (but not the delegate)

Setting the Delegate

- setDelegate:anObject	Sets the NXBrowser's delegate to anObject

- delegate	Returns the NXBrowser's delegate

Target and Action

- setAction:(SEL)aSelector	Sets the NXBrowser's action method to aSelector

- (SEL)action	Returns the NXBrowser's action method

- setTarget:anObject	Sets the NXBrowser's target object to anObject

- target	Returns the NXBrowser's target object

- setDoubleAction:(SEL)aSelector	Sets the NXBrowser's double-click action to aSelector

- (SEL)doubleAction	Returns the NXBrowser's double-click action method

Setting Component Classes

- setMatrixClass:classId	Sets the class of Matrix used in the NXBrowser's columns

- setCellClass:classId	Sets the class of Cell used in the columns of NXBrowser

- setCellPrototype:aCell	Sets the Cell instance copied to display items in the columns of NXBrowser

- cellPrototype	Returns the NXBrowser's prototype Cell

Setting NXBrowser Behavior

- setMultipleSelectionEnabled:(BOOL)flag	Sets whether the user can select multiple items

- (BOOL)isMultipleSelectionEnabled	Returns whether the user can select multiple items

- setBranchSelectionEnabled:(BOOL)flag	Sets whether the user can select branch items when multiple selection is enabled

- (BOOL)isBranchSelectionEnabled	Returns whether the user can select branch items when multiple selection is enabled

- setEmptySelectionEnabled:(BOOL)flag	Sets whether there can be nothing selected

- (BOOL)isEmptySelectionEnabled	Returns whether there can be nothing selected

- reuseColumns:(BOOL)flag	Prevents Matrices from being freed when their columns are unloaded, so they can be reused

- setEnabled:(BOOL)flag	Sets whether the NXBrowser reacts to events

- (BOOL)acceptsFirstResponder

- acceptArrowKeys:(BOOL)acceptFlag	Enables arrow keys for scrolling and sending action
andSendActionMessages:(BOOL)sendFlag		messages

- getTitleFromPreviousColumn:(BOOL)flag	Sets whether the title of a column is set to the title of the selected Cell in the previous column

Configuring Controls

- useScrollBars:(BOOL)flag	Sets whether Scrollers are used to scroll columns

- useScrollButtons:(BOOL)flag	Sets whether buttons are used to scroll columns

- setHorizontalScollButtonsEnabled:(BOOL)flag
	Sets whether buttons are used to scroll horizontally

- (BOOL)areHorizontalScollButtonsEnabled	Returns whether buttons are used to scroll horizontally

- setHorizontalScollerEnabled:(BOOL)flag	Sets whether Scrollers are used to scroll horizontally

- (BOOL)areHorizontalScollerEnabled	Returns whether Scrollers are used to scroll horizontally

Setting the NXBrowser's Appearance

- setMinColumnWidth:(int)columnWidth	Sets the minimum column width

- (int)minColumnWidth	Returns the minimum column width

- setMaxVisibleColumns:(int)columnCount	Sets the maximum number of columns displayed

- (int)maxVisibleColumns	Returns the maximum number of visible columns

- (int)numVisibleColumns	Returns the number of columns visible

- (int)firstVisibleColumn	Returns the index of the first visible column

- (int)lastVisibleColumn	Returns the index of the last visible column

- (int)lastColumn	Returns the index of the last column loaded

- separateColumns:(BOOL)flag	Sets whether to separate columns with bezeled borders

- (BOOL)columnsAreSeparated	Returns whether columns are separated by bezeled borders

Manipulating Columns

- loadColumnZero	Loads column zero; unloads previously loaded columns

- (BOOL)isLoaded	Returns whether column zero is loaded

- addColumn	Adds a column to the right of the last column 

- reloadColumn:(int)column	Reloads column if it is loaded; sets it as the last column 

- displayColumn:(int)column	Updates to display columns through index column 

- displayAllColumns	Updates the NXBrowser to display all loaded columns

- setLastColumn:(int)column	Sets the last column to column

- selectAll:sender	Selects all Cells in the last column of the NXBrowser

- (int)selectedColumn	Returns the index of the last column with a selected item

- (int)columnOf:matrix	Returns the column number in which matrix is located

- validateVisibleColumns	Invokes delegate method browser:columnIsValid: for visible columns

Manipulating Column Titles

- setTitled:(BOOL)flag	Sets whether columns display titles

- (BOOL)isTitled	Returns whether columns display titles

- setTitle:(const char *)aString	Sets the title of the column at index column to aString 
ofColumn:(int)column

- (const char *)titleOfColumn:(int)column	Returns the title displayed for the column at index  column

- (NXRect *)getTitleFrame:(NXRect *)theRect	Returns the bounds of the title frame for the column at
ofColumn:(int)column		index column

- (NXCoord)titleHeight	Returns the height of column titles

- drawTitle:(const char *)title	Draws the title for the column at index column
inRect:(const NXRect *)aRect
ofColumn:(int)column

- clearTitleInRect:(const NXRect *)aRect	Clears the title for the column at index column
ofColumn:(int)column

Scrolling an NXBrowser

- scrollColumnsLeftBy:(int)shiftAmount	Scrolls columns left by shiftAmount columns

- scrollColumnsRightBy:(int)shiftAmount	Scrolls columns right by shiftAmount columns

- scrollColumnToVisible:(int)column	Scrolls to make the column at index column visible

- scrollUpOrDown:sender	Scrolls a column up or down

- scrollViaScroller:sender	Scrolls columns left or right based on a Scroller

- reflectScroll:clipView	Updates scroll buttons to reflect column contents

- updateScroller	Updates the horizontal Scroller to reflect column positions

Event Handling

- mouseDown:(NXEvent *)theEvent	Handles mouse-down events in the NXBrowser  

- keyDown:(NXEvent *)theEvent	Handles key-down events  

- doClick:sender	Responds to mouse clicks in a column of NXBrowser

- doDoubleClick:sender	Responds to double-clicks in a column of NXBrowser

Getting Matrices and Cells

- getLoadedCellAtRow:(int)row	Loads if necessary and returns the Cell at row in column
inColumn:(int)column

- matrixInColumn:(int)column	Returns the matrix located in column

- selectedCell	Returns the last selected Cell (rightmost and lowest)

- getSelectedCells:aList	Returns in aList all the rightmost selected Cells

Getting Column Frames

- (NXRect *)getFrame:(NXRect *)theRect	Returns the rectangle containing the column at index
ofColumn:(int)column		column

- (NXRect *)getFrame:(NXRect *)theRect	Returns the rectangle containing the column at index
ofInsideOfColumn:(int)column		column, not includingborders 

Manipulating Paths

- setPathSeparator:(unsigned short)charCode	Sets the path separator to charCode

- setPath:(const char *)path	Parses path and selects corresponding items in columns 

- (char *)getPath:(char *)thePath	Returns string representing path from the first 
toColumn:(int)column	column to the column at index column

Drawing

- drawSelf:(const NXRect *)rects :(int)rectCount	Draws the NXBrowser  

Resizing the NXBrowser

- sizeTo:(NXCoord)width :(NXCoord)height	Resizes the NXBrowser to width and height

- sizeToFit	Resizes the NXBrowser to fit all its contents 

Arranging an NXBrowser's Components

- tile	Adjusts the NXBrowser's components

Methods Implemented by the Delegate

- (BOOL)browser:sender	Returns whether the contents of the column are valid
columnIsValid:(int)column

- browserDidScroll:sender	Notifies the delegate when the NXBrowser has scrolled

- (int)browser:sender	Returns the number of rows in a column and loads 
fillMatrix:matrix	NXBrowserCells in matrix
inColumn:(int)column

- (int)browser:sender	Returns the number of rows of data in the column at index
getNumRowsInColumn:(int)column		column

- browser:sender	Requests the delegate to load Cell at row  in the column at
loadCell:cell		index column
atRow:(int)row
inColumn:(int)column

- (BOOL)browser:sender	Requests the delegate to select the Cell with title title in the
selectCell:(const char *)title		column at index column
inColumn:(int)column

- (const char *)browser:sender	Queries the delegate for the title to display above the
titleOfColumn:(int)column		column at index column

- browserWillScroll:sender	Notifies the delegate when the NXBrowser will scroll

NXBrowserCell

Inherits From:	Cell : Object

Initializing a NXBrowserCell

- init	Initializes a new NXBrowserCell with ªBrowserItemº as its title

- initTextCell:(const char *)aString	Initializes a newNXBrowserCell with aString as its title

Determining Component Sizes

- calcCellSize:(NXSize *)theSize	Calculates the size of the NXBrowserCell within aRect
inRect:(const NXRect *)aRect

Accessing Graphic Attributes

- (BOOL)isOpaque	Returns YES, since an NXBrowserCell is opaque

+ branchIcon	Returns the NXImage for branch NXBrowserCells

+ branchIconH	Returns the NXImage for highlighted branches

Displaying

- drawInside:(const NXRect *)cellFrame	Draws the inside of the NXBrowserCell in aView
inView:aView

- drawSelf:(const NXRect *)cellFrame	Draws the entire NXBrowserCell in aView
inView:aView

- highlight:(const NXRect *)cellFrame	If lit is YES, highlights the NXBrowserCell in aView
inView:aView lit:(BOOL)lit

Placing in Browser Hierarchy

- setLeaf:(BOOL)flag	Sets whether the NXBrowserCell is a leaf or a branch

- (BOOL)isLeaf	Returns whether the NXBrowserCell is a leaf or a branch

Determining Loaded Status

- setLoaded:(BOOL)flag	Sets whether the NXBrowserCell is loaded and displayble

- (BOOL)isLoaded	Returns whether the NXBrowserCell is loaded

Setting State

- set	Highlights the NXBrowserCell and sets its state to 1

- reset	Unhighlights the NXBrowserCell and sets its state to 0

NXCachedImageRep

Inherits From:	NXImageRep : Object

Initializing a New NXCachedImageRep

- initFromWindow:(Window *)aWindow	Initializes the new NXCachedImageRep for an image to
rect:(const NXRect *)aRect		be drawn in aWindow

- copyFromZone:(NXZone *)theZone	Creates and returns a copy of the receiver

Freeing an NXCachedImageRep

- free	Deallocates the NXCachedImageRep

Getting the Representation

- getWindow:(Window **)theWindow	Provides the Window and rectangle where the image is
andRect:(NXRect *)theRect		cached

Drawing the Image

- (BOOL)draw	Reads the cached image and renders it 

Archiving

- read:(NXTypedStream *)stream	Reads the NXCachedImageRep from stream

- write:(NXTypedStream *)stream	Writes the NXCachedImageRep to stream

NXColorPanel

Inherits From:	Panel : Window : Responder : Object

Creating a New NXColorPanel

+ newColorMask:(int)colormask	Returns the shared NXColorPanel 

+ newContent:(const NXRect *)contentRect	Returns the shared NXColorPanel
style:(int)aStyle
backing:(int)bufferingType
buttonMask:(int)mask
defer:(BOOL)flag

+ newContent:(const NXRect *)contentRect	Returns the shared NXColorPanel
style:(int)aStyle
backing:(int)bufferingType
buttonMask:(int)mask
defer:(BOOL)flag
colorMask:(int)colormask

+ sharedInstance:(BOOL)create	If YES, creates if necessary and returns the shared NXColorPanel

Setting the NXColorPanel

- (int)colorMask	Returns the color mask of the NXColorPanel

- setColorMask:(int)colormask	Sets the color mask of the NXColorPanel

- setContinuous:(BOOL)flag	Sets the NXColorPanel to continuously send the action message to the target

- setMode:(int)mode	Sets the mode and returns the NXColorPanel

- setAccessoryView:aView	Sets the accessory view to aView

- setAction:(SEL)aSelector	Sets the action message sent to the target

- setShowAlpha:(BOOL)flag	Sets the NXColorPanel to show alpha values

- setTarget:anObject	Sets the target of the NXColorPanel

Setting Color

- color:(NXColor *)color	Returns the currently selected color

- setColor:(NXColor)color	Sets the color of the NXColorPanel

+ dragColor:(NXColor *)color	Drags color into a destination view from sourceView.
withEvent:(NXEvent *)event		event is usually an NX_MOUSEUP
fromView:sourceView

NXColorPicker

Inherits From:	Object

Conforms To:	NXColorPickingDefault

Initialization

- initFromPickerMask:(int)theMask	Initializes the receiver for the specified mask and 
withColorPanel:thePanel		color panel

Button Images

- provideNewButtonImage	Returns a new button image for the color picker

- insertNewButtonImage:newImage 	Override to customize newImage before insertion
in:newButtonCell		in newButtonCell

View Management

- viewSizeChanged:sender	Does nothing.  Override to respond to size change.  

Alpha Control Check

- alphaControlAddedOrRemoved:sender	Responds to change in color panel alpha control status

Order of Button Appearance

- (float)insertionOrder	Returns the color picker button's insertion order

Using Color Lists

- attachColorList:colorList	Override to attach a color list to a color picker

- detachColorList:colorList	Override to detach a color list from a color picker

Mode

- setMode:(int)mode	Override to set the color picker's mode

NXColorWell

Inherits From:	Control: View: Responder: Object

New 

- initFrame:(const NXRect *)theFrame	Initializes and returns a new instance of NXColorWell

Event Handling 

- (BOOL)acceptsFirstMouse	Returns YES

- mouseDown:(NXEvent *)theEvent	Responds to mouse down in the NXColorWell

Drawing 

- drawSelf:(const NXRect *)rects	Draws the entire NXColorWell, including borders
:(int)rectCount

- drawWellInside:(const NXRect *)insideRect	Draws the colored area inside the NXColorWell,without drawing borders

Activating 

- deactivate	Deactivates and returns the NXColorWell

+ deactivateAllWells	Deactivates all currently active NXColorWells

- activate:(int)exclusive	Activates and returns the NXColorWell

- (BOOL)isActive	Returns YES if the NXColorWell is active

- setEnabled:(BOOL)enabled	Enables the NXColorWell

Managing Color 

- activeWellsTakeColorFrom:sender	Changes color of all active wells to that of sender

- activeWellsTakeColorFrom:sender	Continuously changes color of all active, continuous 
continuous:(BOOL)continuously		wells to that of sender

- (NXColor)color	Returns the color of the NXColorPanel

- takeColorFrom:sender	Changes color of the well to that of sender

- acceptColor:(NXColor)color	Changes color of the well to color when aPoint is a
atPoint:(NXPoint *)aPoint		point in the bounds of the NXColorWell

- setColor:(NXColor)color	Sets the color of the well to color

- updateCustomColorList	Saves the current color list in NX_COLORLISTMODE

Target and Action

- (SEL)action	Returns the NXColorWell's action message 

- setAction:(SEL) aSelector	Sets the NXColorWell's action message

- setTarget:anObject	Sets the NXColorWell's target

- target	Returns the NXColorWell's target

Archiving

- awake	Initializes the NXColorWell after unarchiving

NXCursor

Inherits From:	Object

Initializing a New NXCursor Object

- init	Initializes a new NXCursor, but doesn't set the image

- initFromImage:image	Initializes a new NXCursor object with image

Defining the Cursor

- setImage:newImage	Sets the NXImage object that supplies the cursor image

- image	Returns the NXImage object that has the cursor image

- setHotSpot:(const NXPoint *)spot	Sets the point on the cursor that's aligned with the mouse

Setting the Cursor

- push	Makes the NXCursor the current cursor

- pop	Restores the previous cursor

+ pop	Restores the previous cursor

- set	Sets the NXCursor to be the current cursor

- setOnMouseEntered:(BOOL)flag	Determines whether mouseEntered: sets cursor

- setOnMouseExited:(BOOL)flag	Determines whether mouseExited: sets cursor

- mouseEntered:(NXEvent *)theEvent	Responds to a mouse-entered event

- mouseExited:(NXEvent *)theEvent	Responds to a mouse-exited event

+ currentCursor	Returns the current cursor

Archiving

- read:(NXTypedStream *)stream	Reads the NXCursor from the typed stream stream

- write:(NXTypedStream *)stream	Writes the NXCursor to the typed steam stream

NXCustomImageRep

Inherits From:	NXImageRep : Object

Initializing a New NXCustomImageRep

- initDrawMethod:(SEL)aSelector	Initializes the new object so that anObject's aSelector
inObject:anObject		method will draw the image

Drawing the Image

- (BOOL)draw	Sends a message to draw the image

Archiving

- read:(NXTypedStream *)stream	Reads the NXCustomImageRep from stream

- write:(NXTypedStream *)stream	Writes the NXCustomImageRep to stream

NXDataLink

Inherits From:	Object

Initializing a Link

- initFromFile:(const char *)filename	Initializes a new instance from filename

- initFromPasteboard:(Pasteboard *)pasteboard	Initializes a new instance from pasteboard

- initLinkedToFile:(const char *)filename	Initializes a new instance corresponding to filename

- initLinkedToSourceSelection:(NXSelection *)selection
managedBy:linkManager	Initializes a new instance as specified
supportingTypes:(const char * const*)newTypes
count:(int)numTypes

- copyFromZone:(NXZone *)zone	Returns a copy of the receiver, allocated from zone

Exporting a Link

- writeToPasteboard:(Pasteboard *)pasteboard	Writes the link onto the pasteboard pasteboard

- saveLinkIn:(const char *)directoryName	Saves the link with a file name provided by the user

- writeToFile:(const char *)filename	Writes the link into the file filename

Information about the Link

- (NXDataLinkManager *)manager	Returns the link's manager

- (NXDataLinkDisposition)disposition	Identifies the link's type

- (NXDataLinkNumber)linkNumber	Returns the link's number

Information about the Link's Source

- (const char *)sourceAppName	Returns the name of the application containing the source

- (const char *)sourceFilename	Returns the file name of the source document

- (NXSelection *)sourceSelection	Returns the source selection

- openSource	Opens the document corresponding to source selection

- (time_t)lastUpdateTime	Returns the last time the link was updated

- (const NXAtom *)types	Returns the types that the source document can provide

Information about the Link's Destination

- (const char *)destinationAppName	Returns the name of the application containing the destination link

- (const char *)destinationFilename	Returns the file name of the destination document

- (NXSelection *)destinationSelection	Returns the destination selection

Information about the Link's Data

- sourceEdited	Sent to a source link to inform it that the data referred to by its source selection has changed

- updateDestination	Updates the data referred to by the link's destination selection

- setUpdateMode:(NXDataLinkUpdateMode)mode	Sets the link's update mode to mode

- (NXDataLinkUpdateMode)updateMode	Returns the link's update mode

- break	Breaks the link

NXDataLinkManager

Inherits From:	Object

Initializing and Freeing a Link Manager

- initWithDelegate:anObject	Initializes and returns a newly allocated instance

- initWithDelegate:anObject	Initializes and returns a newly allocated instance
fromFile:(const char *)path

- free	Frees the objects and storage held by the link manager

Adding and Removing Links

- addLink:(NXDataLink *)link	Adds the link link to the document
at:(NXSelection *)selection

- addLinkAsMarker:(NXDataLink *)link	Incorporates link into the document as a marker
at:(NXSelection *)selection

- writeLinksToPasteboard:(Pasteboard *)pboard	Writes all the link manager's links to the pasteboard

- (NXDataLink *)addLinkPreviouslyAt:(NXSelection *)oldSelection
fromPasteboard:(Pasteboard *)pasteboard	Creates and adds a new destination link corresponding to
at:(NXSelection *)selection	oldSelection

- breakAllLinks	Breaks all the destination links in the document

Informing the Link Manager of Document Status

- documentClosed	Informs link manager that document has been closed

- documentEdited	Informs link manager that document has been edited

- documentReverted	Informs link manager that changes have been reverted

- documentSaved	Informs link manager that document has been saved

- documentSavedAs:(const char *)path	Informs link manager that document has been saved

- documentSavedTo:(const char *)path	Informs link manager that document has been saved

Getting and Setting Information about the Link Manager

- (const char *)filename	Returns the filename for the link manager's document

- (BOOL)isEdited	Returns YES if the document was edited since the last save

- setLinksVerifiedByDelegate:(BOOL)flag	Sets whether the delegate is asked to verify updates

- (BOOL)areLinksVerifiedByDelegate	Returns YES is delegate is asked to verify updates

- delegate	Returns the data link manager's delegate

- setInteractsWithUser:(BOOL)flag	Sets whether manager displays panels if  link errors occur

- (BOOL)interactsWithUser	Tells whether manager displays panels if  link errors occur

Getting and Setting Information about the Manager's Links

- setLinkOutlinesVisible:	Sets whether outlines are visible

- (BOOL)areOutlinesVisible	Returns YES if outlines are visible

- (NXDataLink *)findDestinationLinkWithSelection:(NXSelection *)destSel
	Returns the destination link for the selection destSel

- prepareEnumerationState:(NXLinkEnumerationState *)state
forLinksOfType:(NXDataLinkDisposition *)srcOrDest
	Prepares manager to enumerate links

- (NXDataLink *)nextLinkUsing:(NXLinkEnumerationState *)state
	Returns the link manager's next link based on state

NXDataLinkPanel

Inherits From:	Panel : Window : Responder : Object

Returning the Panel

+ new	Returns the application's sole NXDataLinkPanel object

+ newContents:(const NXRect *)contentRect	Initializes the NXDataLinkPanel object
style:(int)aStyle
backing:(int)bufferingType
buttonMask:(int)mask
defer:(BOOL)flag

Keeping the Panel Up to Date

+ setLink:(NXDataLink *)link	Informs the receiver of the current document and selection
andManager:(NXDataLinkManager *)linkManager
isMultiple:(BOOL)flag

- setLink:(NXDataLink *)link	Informs the receiver of the current document and selection
andManager:(NXDataLinkManager *)linkManager
isMultiple:(BOOL)flag

+ getLink:(NXDataLink **)link	Gets information about the currently selected link
andManager:(NXDataLinkManager **)linkManager
isMultiple:(BOOL *)flag

- getLink:(NXDataLink **)link	Gets information about the currently selected link
andManager:(NXDataLinkManager **)linkManager
isMultiple:(BOOL *)flag

Customizing the Panel

- setAccessoryView:aView	Adds aView to the NXDataLinkPanel's view hierarchy

- accessoryView	Returns the NXDataLinkPanel's custom accessory view

Responding to User Input

- pickedBreakAllLinks:sender	Invoked when the user clicks the Break All Links button

- pickedBreakLink:sender	Invoked when the user clicks the Break Link button

- pickedOpenSource:sender	Invoked when the user clicks the Open Source button

- pickedUpdateDestination:sender	Invoked when the user clicks Update from Source button

- pickedUpdateMode:sender	Invoked when the user selects the update mode

NXEPSImageRep

Inherits From:	NXImageRep : Object

Initializing a New NXEPSImageRep Instance

- initFromSection:(const char *)name	Initializes the new object from EPS code in the section

- initFromFile:(const char *)filename	Initializes the new object from EPS code in filename

- initFromStream:(NXStream *)stream	Initializes the new object from EPS code in stream

Creating a List of NXEPSImageReps

+ (List *)newListFromSection:(const char *)name
	Returns a List of NXEPSImageReps from EPS in name

+ (List *)newListFromSection:(const char *)name
	Returns a List of NXEPSImageReps from EPS in name
zone:(NXZone *)aZone

+ (List *)newListFromFile:(const char *)filename	Returns a List of NXEPSImageReps from filename data

+ (List *)newListFromFile:(const char *)filename	Returns a List of NXEPSImageReps from filename data
zone:(NXZone *)aZone

+ (List *)newListFromStream:(NXStream *)stream
	Returns a List of NXEPSImageReps from EPS in stream

+ (List *)newListFromStream:(NXStream *)stream
zone:(NXZone *)aZone	Returns a List of NXEPSImageReps from EPS in stream

Copying and Freeing an NXEPSImageRep

- copyFromZone:(NXZone *)zone	Returns a copy of the NXEPSImageRep

- free	Deallocates the NXEPSImageRep

Getting the Rectangle that Bounds the Image

- getBoundingBox:(NXRect *)rect	Copies the EPS bounding box into the rect rectangle

Getting Image Data

- getEPS:(char **)theEPS length:(int *)numBytes	Provides a pointer to the EPS code

Drawing the Image

- prepareGState	Implemented by subclasses to prepare the graphics state

- (BOOL)draw	Draws the image at (0.0, 0.0) in current coordinates

- (BOOL)drawIn:(const NXRect *)rect	Draws the image so it fits within the rect rectangle

Archiving

- read:(NXTypedStream *)stream	Reads the NXEPSImageRep from stream

- write:(NXTypedStream *)stream	Writes the NXEPSImageRep to stream

NXHelpPanel

Inherits From:	Panel : Window : Responder : Object

Initializing and Freeing

+ new	Creates, if necessary, and returns the NXHelpPanel object

+ newForDirectory:(const char *)helpDirectory	Creates, if necessary, and returns the NXHelpPanel object

- addSupplement:(const char *)helpDirectory	Adds supplemental helpto the text displayed in the panel
inPath:(const char *)supplementPath

- free	Frees the NXHelpPanel and its storage

Attaching Help to Objects

+ attachHelpFile:(const char *)filename	Associates the help file at markerName with anObject
markerName:(const char *)markerName
to:anObject

+ detachHelpFrom:anObject	Removes any help information associated with anObject

Setting Click-for-Help

+ (BOOL)isClickForHelpEnabled	Returns whether the click-for-help feature is enabled

+ setClickForHelpEnabled:(BOOL)enabled	Sets whether the click-for-help feature is enabled

Printing

- print:sender	Prints the currently displayed help text

- printPanel:sender	Prints the currently displayed help text

Querying

-(NXAtom)helpDirectory	Returns the absolute path of the help directory

-(NXAtom) helpFile	Returns the path of the currently loaded help file

Showing Help

- showFile:(const char *)filename	Causes the Help panel to display the help contained in 
atMarker:(const char *)markerName		filename at markerName

- (BOOL)showHelpAttachedTo:anObject	Causes the Help panel to display help attached to anObject

NXImage

Inherits From:	Object

Initializing a New NXImage Instance

- init	Initializes the new NXImage without setting its size

- initSize:(const NXSize *)aSize	Initializes the new NXImage to the specified size

- initFromSection:(const char *)name	Initializes the new object from the data in name section

- initFromFile:(const char *)filename	Initializes the new NXImage from the data in filename

- initFromPasteboard:(Pasteboard *)pasteboard	Initializes the new NXImage from the data in pasteboard

- initFromStream:(NXStream *)stream	Initializes the new NXImage from the data in stream

- initFromImage:(NXImage *)image	Initializes the new NXImage to be a subimage of image
rect:(const NXRect *)rect

- copyFromZone:(NXZone *)zone	Creates and returns a copy of the NXImage in zone

Freeing an NXImage object

- free	Frees the NXImage and its representations

Setting the Size of the Image

- setSize:(const NXSize *)aSize	Sets the size of the image in base coordinates

- getSize:(NXSize *)theSize	Provides the size of the image

Referring to Images by Name

- (BOOL)setName:(const char *)string	Assigns string as the name of the NXImage object

- (const char *)name	Returns the name of the NXImage object

+ findImageNamed:(const char *)name	Returns the NXImage object with name

Specifying the Image

- (BOOL)useDrawMethod:(SEL)aSelector	Creates a representation that will use a delegated method 
inObject:anObject		to draw the image

- (BOOL)useFromSection:(const char *)name	Creates representations for the data in the name section

- (BOOL)useFromFile:(const char *)filename	Creates representations for the data in filename file

- (BOOL)useRepresentation:(NXImageRep *)imageRep
	Adds imageRep to the List of representations

- (BOOL)useCacheWithDepth:(NXWindowDepth)depth
	Creates an empty representation to draw in

- (BOOL)loadFromStream:(NXStream *)stream	Creates representation for the data read from stream

- (BOOL)loadFromFile:(const char *)fileName	Creates representation for the data read from filename

- (BOOL)lockFocus	Prepares for drawing in the best representation

- (BOOL)lockFocusOn:(NXImageRep *)imageRep	Prepares for drawing in imageRep

- unlockFocus	Balances a previous lockFocus or lockFocusOn:

Using the Image

- composite:(int)op	Composites the image to aPoint
toPoint:(const NXPoint *)aPoint 

- composite:(int)op	Composites the aRect portion of the image to aPoint
fromRect:(const NXRect *)aRect
toPoint:(const NXPoint *)aPoint

- dissolve:(float)delta	Composites the image using the dissolve operator
toPoint:(const NXPoint *)aPoint

- dissolve:(float)delta	Composites the image using the dissolve operator
fromRect:(const NXRect *)aRect
toPoint:(const NXPoint *)aPoint

Choosing Which Image Representation to Use

- setColorMatchPreferred:(BOOL)flag	Determines whether color matches are preferred

- (BOOL)isColorMatchPreferred	Returns whether color matches are preferred

- setEPSUsedOnResolutionMismatch:(BOOL)flag
	Sets whether to use EPS representations on mismatch

- (BOOL)isEPSUsedOnResolutionMismatch	Returns whether to use EPS representations on mismatch

- setMatchedOnMultipleResolution:(BOOL)flag	Sets whether resolution multiples match

- (BOOL)isMatchedOnMultipleResolution	Returns whether resolution multiples match

Getting the Representations

- (NXImageRep *)lastRepresentation	Returns the last representation added to the NXImage

- (NXImageRep *)bestRepresentation	Returns the best representation for the deepest screen

- (List *)representationList	Returns the List of all the representations

- removeRepresentation:(NXImageRep *)imageRep
	Removes imageRep from the List of representations

Determining How the Image is Stored

- setUnique:(BOOL)flag	Sets whether representations are cached alone

- (BOOL)isUnique	Returns whether representations are cached alone

- setDataRetained:(BOOL)flag	Sets whether image data is retained by the object

- (BOOL)isDataRetained	Returns whether image data is retained

- setCacheDepthBounded:(BOOL)flag	Sets whether the default depth limit applies to caches

- (BOOL)isCacheDepthBounded	Returns whether the default depth limit applies to caches

- getImage:(NXImage **)image	Gets the image that the receiver is a subimage of
rect:(NXRect *)rect

Determining How the Image is Drawn

- setFlipped:(BOOL)flag	Inverts the polarity of the y-axis for drawing the image

- (BOOL)isFlipped	Returns whether the polarity of the y-axis is inverted

- setScalable:(BOOL)flag	Determines whether representations are scaled to fit

- (BOOL)isScalable	Returns whether representations are scaled to fit

- setBackgroundColor:(NXColor)aColor	Sets the background color of the image

- (NXColor)backgroundColor	Returns the background color of the image

- (BOOL)drawRepresentation:(NXImageRep *)imageRep
inRect:(const NXRect *)rect	Has imageRep draw the representation

- recache	Invalidates caches of all representations, so they will be redrawn

Assigning a Delegate

- setDelegate:anObject	Makes anObject the delegate of the NXImage

- delegate	Returns the delegate of the NXImage

Producing TIFF Data for the Image

- writeTIFF:(NXTypedStream *)stream	Writes TIFF for the best representation to stream

- writeTIFF:(NXTypedStream *)stream	Writes TIFF for all the representations to stream
allRepresentations:(BOOL)flag

Managing NXImageRep subclasses

+(void)registerImageRep:imageRepClass	Registers a new class for managing image data

+ (void)unregisterImageRep:imageRepClass	Unregisters a class for managing image data

+ (Class)imageRepForFileType:(const char *)type
	Returns image rep that handles data of type

+ (Class)imageRepForPasteboardType:(NXAtom)type
	Returns image rep that handles data of type

+ (Class)imageRepForStream:(NXStream *)stream
	Returns image rep that handles data on stream

+ (const char *const *)imageUnfilteredFileTypes
	Returns a list of filetypes handled by the NXImage

+ (const NXAtom *)imageUnfilteredPasteboardTypese
	Returns a list of pasteboard types handled by the NXImage

Testing Image Data Sources

+ (BOOL)canInitFromPasteboard:(Pasteboard *)pasteboard
	YES if  NXImage can create a representation from pasteboard

+ (const char *const *)imageFileTypes	Returns an array of supported image data file types 

+ (const NXAtom *)imagePasteboardTypes	Returns an array of supported pasteboard types

Archiving

- read:(NXTypedStream *)stream	Reads the NXImage and its representations from stream

- write:(NXTypedStream *)stream	Writes the NXImage and its representations to stream

- finishUnarchiving	Replaces the NXImage with one having the same name

Methods Implemented by the Delegate

- (NXImage *)imageDidNotDraw:sender	Responds to message that image couldn't be composited
inRect:(NXRect *)aRect

NXImageRep

Inherits From:	Object

Initializing

- initFromPasteboard:(Pasteboard *)pasteboard	Initializes the receiver from pasteboard

Checking data types

+ (BOOL)canInitFromPasteboard:(Pasteboard *)pasteboard
	YES if NXImageRep can initialize itself from pasteboard

+ (BOOL)canLoadFromStream:(NXStream *)stream
	YES if NXImageRep can initialize itself from stream

+ (const char *const *)imageFileTypes	Returns an array of strings representing all file types

+ (const NXAtom *)imagePasteboardTypes	Returns an array representing all pasteboard types

+ (const char *const *)imageUnfilteredFileTypes	Returns an array representing directly supported file types

+ (const NXAtom *)imageUnfilteredPasteboardTypes
	Returns an array representing directly supported pasteboards

Setting the Size of the Image

- setSize:(const NXSize *)aSize	Sets the size of the image

- getSize:(NXSize *)theSize	Copies the size of the image into the theSize structure

Specifying Information about the Representation

- setNumColors:(int)anInt	Informs the object that there are anInt color components

- (int)numColors	Returns the number of color components

- setAlpha:(BOOL)flag	Informs object whether there is a coverage component

- (BOOL)hasAlpha	Returns whether there is a coverage component

- setBitsPerSample:(int)anInt	Informs object there are anInt bits/pixel in a component

- (int)bitsPerSample	Returns the number of bits per pixel in each component

- setPixelsHigh:(int)anInt	Informs object that data is for an image anInt pixels high

- (int)pixelsHigh	Returns the height specified in the image data

- setPixelsWide:(int)anInt	Informs object that data is for an image anInt pixels wide

- (int)pixelsWide	Returns the width specified in the image data

Drawing the Image

- (BOOL)draw	Implemented by subclasses to draw the image

- (BOOL)drawAt:(const NXPoint *)point	Modifies current coordinates so image is drawn at point

- (BOOL)drawIn:(const NXRect *)rect	Modifies current coordinates so image is drawn in rect

Archiving

- read:(NXTypedStream *)stream	Reads the NXImageRep from stream

- write:(NXTypedStream *)stream	Writes the NXImageRep to stream

NXJournaler

Inherits From:	Object

Initializing and Freeing a Journaler

- init	Initializes a new NXJournaler

- free	Deallocates the NXJournaler

Controlling Journaling

- setEventStatus:(int)eventStatus	Controls recording and playback
soundStatus:(int)soundStatus
eventStream:(NXStream *)stream
soundfile:(const char *)soundfile

- getEventStatus:(int *)eventStatusPtr	Provides status information about the NXJournaler
soundStatus:(int *)soundStatusPtr
eventStream:(NXStream **)streamPtr
soundfile:(char **)soundfilePtr

- setRecordDevice:(int)device	Sets whether CODEC or DSP is used for sound input

- (int)recordDevice	Returns NX_CODEC or NX_DSP

Identifying Associated Objects

- speaker	Returns the NXJournaler's Speaker object

- listener	Returns the NXJournaler's Listener object

- setDelegate:anObject	Sets the NXJournaler's delegate

- delegate	Returns the NXJournaler's delegate

Implemented by the delegate

- journalerDidEnd:journaler	Informs the delegate that the session terminated

- journalerDidUserAbort:journaler	Informs the delegate that the user aborted the session

NXPrinter

Inherits From:	Object

Finding an NXPrinter

+ (NXPrinter *)newForName:(const char *)name

	Returns the NXPrinter with the given name

+ (NXPrinter *)newForName:(const char *)name 	Returns the NXPrinter with the given name and host
host:(const char *)hostName

+ (NXPrinter *)newForName:(const char *)name	Returns the NXPrinter with the given name, host, and
 host:(const char *)hostName		domain
domain:(const char *)domain
includeUnavailable:(BOOL)includeFlag

+ (NXPrinter *)newForType:(const char *)type	Returns an NXPrinter object for a given printer type

+ (char **)printerTypes:(BOOL)normalFlag 	Returns the names of the recognized printer types
custom:(BOOL)customFlag

Printer Attributes

- (const char *)domain	Returns the name of the printer's domain

- (const char *)host	Returns the name of the printer's host computer

- (const char *)name	Returns the printer's name

- (const char *)note	Returns the note associated with the printer

- (const char *)type	Returns the name of the printer's type

- (BOOL)isReallyAPrinter	Returns whether the object corresponds to an actual printer

Retrieving Specific Information

- (BOOL)acceptsBinary	Returns YES if the printer accepts binary PostScript 

- (NXRect)imageRectForPaper:(const char *)paperType

	Returns the printing rectangle for the named paper type

- (NXSize)pageSizeForPaper:(const char *)paperType

	Returns the size of the page for the named paper type

- (BOOL)isColor	Returns whether the printer can print color

- (BOOL)isFontAvailable:(const char *)name	Returns whether the named font is available to the printer

- (BOOL)isValid	Returns whether the NXPrinter is valid

- (int)languageLevel	Returns the PostScript Language Level recognized by the printer

- (BOOL)isOutputStackInReverseOrder	Returns whether the printer outputs pages in reverse page order

Querying the NXPrinter Tables

- (BOOL)booleanForKey:(const char *)key 	Returns a boolean value for the given key in the given table
inTable:(const char *)table

- (void *)dataForKey:(const char *)key	Returns untyped data for the key in the table
inTable:(const char *)table 
length:(int *)bytes

- (float)floatForKey:(const char *)key	Returns a float value for the key in the table
 inTable:(const char *)table

- (int)intForKey:(const char *)key	Returns an integer  value for the key in the table
 inTable:(const char *)table

- (NXRect)rectForKey:(const char *)key	Returns an NXRect for the key in the table
 inTable:(const char *)table

- (NXSize)sizeForKey:(const char *)key	Returns an NXSize for the key in the table
 inTable:(const char *)table

- (const char *)stringForKey:(const char *)key	Returns a string for the key in the table
 inTable:(const char *)table

- (const char **)stringListForKey:(const char *)key
 inTable:(const char *)table	Returns an array of strings for the key in the table

- (int)statusForTable:(const char *)table	Returns the status of the given table

- (BOOL)isKey:(const char *)key	Returns whether key is a key to table 
inTable:(const char *)tableg

NXSpellChecker

Inherits From:	Object

Making A Checker Available

+ sharedInstance	Returns the NXSpellChecker to use

+ sharedInstance:  (BOOL)flag	Returns the NXSpellChecker to use but creates a new one only when flag is YES

Managing The Spelling Panel 

- spellingPanel	Returns the NXSpellChecker's panel

- accessoryView	Returns the spell panel's accessory view

- setAccessoryView:aView	Makes a view an accessory of the spell panel

Checking Spelling

- (BOOL) checkSpelling:(NXSpellCheckMode)how 
of:(id <NXReadOnlyTextStream, 	Starts the search for a misspelled word
  NXSelectRange>)anObject

- (BOOL) checkSpelling:(NXSpellCheckMode)how 
of:(id <NXReadOnlyTextStream,	Starts the search for a misspelled word and the count of 
  NXSelectRange>)anObject	words
wordCount:(int *)theCount

Managing the Language Being Checked

- (const char*) language	Returns the current spelling language

- setLanguage:(const char *)aLanguage	Sets the current spelling language

Managing Ignored Words

- closeSpellClient:aClient	Notifies the NXSpellChecker that a document has closed

- (char **)ignoredWordsForSpellClient:aClient	Returns the list of ignored words for a document

- setIgnoredWords:(const char *const *)someWords
 forSpellClient:(int)tag	Initializes the list of ignored words for a document

NXSpellServer

Inherits From:	Object

Checking in Your Service

- (BOOL)registerLanguage:(const char *)language
 byVendor:(const char *)vendor

Assigning a Delegate

- delegate	Returns the NXSpellServer's delegate

- setDelegate:anObject	Makes the spelling service program the delegate of the NXSpellServer object

Running the Service

- run	Starts the event loop in the NXSpellServer's delegate

Checking User Dictionaries

- (BOOL)isInUserDictionary:(const char *)word	Returns YES if the word is in any open user dictionary
 caseSensitive:(BOOL)flag

Seeking alternative spellings

- addGuess:(const char *)guess	Called by the delegate to append the guesses it has found

Methods Implemented by the Delegate

- (BOOL)spellServer:(NXSpellServer *)sender 	Searches for a misspelled word; return YES if one is found
findMisspelledWord:(int *)start 
length:(int *)length 
inLanguage:(const char *)language 
inTextStream:(id <NXReadOnlyTextStream>)textStream 
startingAt:(int)startPosition 
wordCount:(int *)number 
countOnly:(BOOL)flag

- (void)spellServer:(NXSpellServer *)sender	 Searches for alternatives to the misspelled word; returns
suggestGuessesForWord:(const char *)word		 guesses as a side effect, using addGuess:
inLanguage:(const char *)language

- (void)spellServer:(NXSpellServer *)sender	Notifies the delagte of a word added to the user's hidden 
 didLearnWord:(const char *)word		wordlist
 inLanguage:(const char *)language

- (void)spellServer:(NXSpellServer *)sender	Notifies the delagte of a word removed from the user's 
 didForgetWord:(const char *)word		hidden wordlist
 inLanguage:(const char *)language;

NXSplitView

Inherits From:	View : Responder : Object

Initializing an NXSplitView

- initFrame:(const NXRect *)frameRect	Initializes a new NXSplitView

Handling Events

- mouseDown:(NXEvent *)theEvent	Handles mouse-down events

- acceptsFirstMouse	Allows the NXSplitView to respond to the mouse event that makes its Window the key window

Managing Component Views

- adjustSubviews	Adjusts the heights of the subviews

- resizeSubviews:	Forces adjustment of the subviews

- (NXCoord)dividerHeight	Returns the height of the divider

- drawSelf:(const NXRect *) rects :(int)rectCount	Draws the NXSplitView

- drawDivider:(const NXRect *)aRect	Draws the divider

- setAutoresizeSubviews:(BOOL)flag	Ensures that the subviews are automatically resized

Assigning a Delegate

- setDelegate:anObject	Sets the NXSplitView's delegate

- delegate	Returns the NXSplitView's delegate

Implemented by the Delegate

- splitViewDidResizeSubviews:sender	Informs the delegate that subviews were resized

- splitView:sender	Limits divider travel
getMinY:(NXCoord *)minY 
maxY:(NXCoord *)maxY 
ofSubviewAt:(int)offset

- splitView:sender	Allows custom resizing behavior
resizeSubviews:(const NXSize *)oldSize

Object Additions

This method is declared in the Application Kit as an addition to the root Object class.

Sending Messages Determined at Run Time

- perform:(SEL)aSelector	Sends an aSelector message to the receiver after ms delay
with:anObject
afterDelay:(int)ms
cancelPrevious:(BOOL)flag

OpenPanel

Inherits From:	SavePanel : Panel : Window : Responder : Object

Creating and Freeing an OpenPanel

+ new	Returns the shared OpenPanel object

+ newContent:(const NXRect *)contentRect	Returns the shared OpenPanel object
style:(int)aStyle
backing:(int)bufferingType
buttonMask:(int)mask
defer:(BOOL)flag

- free	Deallocates the OpenPanel object

Setting the OpenPanel Class

+ setOpenPanelFactory:class	Sets class for initializing an OpenPanel

Filtering Files

- allowMultipleFiles:(BOOL)flag	Sets whether the user can open multiple files

Querying the Chosen Files

- (const char *const *)filenames	Gets the names of the selected files

Running the OpenPanel

- (int)runModalForDirectory:(const char *)path	Displays the panel and begins its event loop
file:(const char *)name 

- (int)runModalForDirectory:(const char *)path	Displays the panel and begins its event loop
file:(const char *)name 
types:(const char *const *)fileTypes

- (int)runModalForTypes:(const char *const *)fileTypes
	Displays the panel and begins its event loop

PageLayout

Inherits From:	Panel : Window : Responder : Object

Creating and Freeing a PAgeLayout Instance

+ new	Returns a default PageLayout object

+ newContent:(const NXRect *)contentRect	Used in PageLayout instantiation
style:(int )aStyle
backing:(int )bufferingType
buttonMask:(int )mask
defer:(BOOL )flag

- free	Deallocates the PageLayout panel

Running the PageLayout Panel

- (int)runModal	Displays the panel and begins its event loop

Customizing the PageLayout Panel

- setAccessoryView:aView	Adds a View to the panel

- accessoryView	Returns the PageLayout's accessory View

Updating the Panel's Display

- pickedLayout:sender	Updates the panel when a new layout is selected

- pickedOrientation:sender	Updates the panel with the selected orientation

- pickedPaperSize:sender	Updates the panel when a paper size is selected

- pickedUnits:sender	Updates the panel when a new unit is selected

- textDidEnd:textObject	Updates the panel when the user finishes typing a page size
endChar:(unsigned short)theChar

- (BOOL)textWillChange:textObject	Updates the panel when a page size is typed

- convertOldFactor:(float *)old	Converts units for pickedUnits: method
newFactor:(float *)new

- pickedButton:sender	Stops the event loop

Communicating with the PrintInfo Object

- readPrintInfo	Reads the PageLayout's values from the PrintInfo object

- writePrintInfo	Writes the PageLayout's values to the PrintInfo object

Panel

Inherits From:	Window : Responder : Object

Initializing a New Panel

- init	Initializes the new Panel with default values

- initContent:(const NXRect *)contentRect	Initializes the new Panel as specified
style:(int)aStyle
backing:(int)bufferingType
buttonMask:(int)mask
defer:(BOOL)flag

Handling Events

- (BOOL)commandKey:(NXEvent *)theEvent	Initiates performKeyEquivalent: messages

- keyDown:(NXEvent *)theEvent	Convert key-down event to a commandKey: message